package com.jgj.zxkj.lookandcheckjggroupinfo.resetpwd;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.content.ContextCompat;
import android.support.v7.widget.AppCompatTextView;
import android.view.View;

import com.blankj.utilcode.util.LogUtils;
import com.jgj.zxkj.lookandcheckjggroupinfo.R;
import com.sa.all_cui.mix_core.delegate.DoggerDelegate;

import butterknife.BindView;
import qiu.niorgai.StatusBarCompat;

/**
 * Created by all-cui on 2017/10/27.
 */

public class ResetPwdDelegate extends DoggerDelegate {
    @BindView(R.id.tv_toolbar_title)
    AppCompatTextView mTitle = null;
    @Override
    public Object setLayout() {
        return R.layout.delegate_reset_pwd;
    }

    @Override
    public void onBindView(@Nullable Bundle savedInstanceState, View view) {
        mTitle.setText(getString(R.string.reset_pwd_title));
    }

    @Override
    public void onStart() {
        super.onStart();
        StatusBarCompat.setStatusBarColor(getProxyActivity(), ContextCompat.getColor(getProxyActivity(),R.color.colorDeepSea));

    }

    @Override
    public void onStop() {
        super.onStop();
        StatusBarCompat.setStatusBarColor(getProxyActivity(), ContextCompat.getColor(getProxyActivity(),R.color.colorMossLight));
    }

    @Override
    public void onDestroyView() {
        super.onDestroyView();
        LogUtils.i("onDestroyView is invoke");
    }
}
